//
//  PeopleViewController.m
//  FoodFamily
//
//  Created by dlios on 15-6-29.
//  Copyright (c) 2015年 guoBang. All rights reserved.
//

#import "PeopleViewController.h"

@interface PeopleViewController ()

@end

@implementation PeopleViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
   
    self.navigationItem.title = @"关于我们";
    UIImage *image = [UIImage imageNamed:@"iconfont-fanhui.png"];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithImage:image style:UIBarButtonItemStyleBordered target:self action:@selector(button:)];
    self.navigationController.navigationBar.tintColor = [UIColor blackColor];
    
    UIImageView *imageV = [[UIImageView alloc] initWithFrame:CGRectMake(WIDTH / 2 - 50, 30, 100, 100)];
    imageV.image = [UIImage imageNamed:@"aboutUsImage.png"];
    [self.view addSubview:imageV];
    
    
    UILabel *lable1 = [[UILabel alloc] initWithFrame:CGRectMake(0, 130, WIDTH, 300)];
//    lable1.backgroundColor = [UIColor lightGrayColor];
    lable1.textAlignment = NSTextAlignmentCenter;
    lable1.text = @"来歹我的成长离不开大家的关注与支持,希望大家多和我们交流,多和我们联系,多提意见! \n\n 联系方式:\n QQ:95773335 \n QQ:752677450 \n QQ:1005761714";
    lable1.numberOfLines = 0;
    [self.view addSubview:lable1];
//    UILabel *lable2 = [[UILabel alloc] initWithFrame:CGRectMake(20, 220, 300, 50)];
//    lable2.backgroundColor = [UIColor lightGrayColor];
//    lable2.text = @"";
//    [self.view addSubview:lable2];
//    UILabel *lable3 = [[UILabel alloc] initWithFrame:CGRectMake(20, 290, 300, 50)];
//    lable3.backgroundColor = [UIColor lightGrayColor];
//    lable3.text = @"";
//    [self.view addSubview:lable3];
    
    
    
}
-(void)button:(UIBarButtonItem *)button
{

    [self.navigationController popViewControllerAnimated:YES];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
